﻿using System;

namespace ConsoleApp3
{
    
    class BaseClass
    {
        public void SomeMethod()
        {
            Console.WriteLine("BaseClass.SomeMethod()");
        }

    }

    class DerivedClass : BaseClass
    {
        public void AnotherMethod()
        {
            SomeMethod();
            Console.WriteLine("DerivedClass.SomeMethod()");
        }
    }

    public class Test3
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Test3");
            DerivedClass dc = new DerivedClass();
            dc.AnotherMethod();
        }
    }
}